/* table 表格 */
.nt-table-wrapper {
  display: inline-block;
  width: 100%;
  overflow: auto;
}
.nt-table {
  width: 100%;
  background-color: #fff;
  color: #666;
  font-size: 14px;
  border-collapse: collapse;
  border-spacing: 0;
}
.nt-table-fixed {
  table-layout: fixed;
}
.nt-table tbody tr {
  transition: all 0.25s ease-out;
}
.nt-table tbody tr:hover td {
  background-color: #f2f2f2;
}
.nt-table .caret-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  height: 14px;
  width: 20px;
  position: relative;
}
.nt-table .caret-wrapper .ascending {
  border-bottom-color: #c0c4cc;
  top: -5px;
}
.nt-table .caret-wrapper .descending {
  border-top-color: #c0c4cc;
  bottom: -3px;
}
.nt-table .sort-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  position: absolute;
  border-radius: 3px;
}
.nt-table .sort-column {
  cursor: pointer;
}
.nt-table .sort-asc .ascending {
  border-bottom-color: var(--nt-primary-color, #52c41a);
}
.nt-table .sort-desc .descending {
  border-top-color: var(--nt-primary-color, #52c41a);
}
.nt-table td,
.nt-table th {
  padding: 10px;
  border-bottom: 1px solid #e6e6e6;
}
.nt-table th,
.nt-table tfoot td {
  text-align: left;
  background-color: #f2f2f2;
}
.nt-table td {
  background-color: #ffffff;
}
.nt-table-stripe tbody tr:nth-child(even) td {
  background-color: #fafafa;
}
.nt-table-stripe tbody tr:nth-child(even):hover td {
  background-color: #f2f2f2;
}

.nt-table-border tr,
.nt-table-border td {
  border: 1px solid #e6e6e6;
}

.nt-table__none-col {
  color: #999999;
  text-align: center;
}

.nt-table .nt-fixed {
  position: -webkit-sticky;
  position: sticky;
  z-index: 1;
  box-sizing: border-box;
}
.nt-table thead.nt-fixed,
.nt-table tfoot.nt-fixed {
  z-index: 2;
}
.nt-table-selection-cell {
  display: flex;
  justify-content: center;
  align-items: center;
}
